﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Garbage_Services_Terminator
{
    public partial class InputWarning : Form
    {
        public InputWarning(List<string> servcs)
        {
            InitializeComponent();

            //处理
            foreach (var item in servcs)
            {
                listBox1.Items.Add(item);
            }
        }

        private void InputWarning_Load(object sender, EventArgs e)
        {

        }

        private void button2_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("请到主窗口内运行！","策略禁止",MessageBoxButtons.OK,MessageBoxIcon.Warning);
        }
    }
}
